-- GENERATED SPELL FOR [Blacksouled Keeper] --


function spell0_23875(pUnit, Event) --@Wrath,n/a--
pUnit:FullCastSpellOnTarget(43619,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23875', 2000, 1)
end

function Sorts_23875(pUnit, Event)
local choix_sorts_23875 = math.random(0, 0)
if choix_sorts_23875 == 0 then
pUnit:RegisterEvent('spell0_23875', 1, 1)
end
end

function mob23875_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_23875', math.random(1500, 3000), 1)
end

function mob23875_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23875_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23875_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(23875, 1, 'mob23875_Action')
RegisterUnitEvent(23875, 2, 'mob23875_Leave')
RegisterUnitEvent(23875, 3, 'mob23875_Kill')
RegisterUnitEvent(23875, 4, 'mob23875_Die')
